package com.mcxx.modules.system.service.write;

import com.mcxx.common.exception.BizException;
import com.mcxx.modules.system.dao.read.StatisticsExportItemReadDao;
import com.mcxx.modules.system.dao.write.StatisticsExportItemWriteDao;
import com.mcxx.modules.system.dto.StatisticsExportDTO;
import com.mcxx.util.Constant;
import com.mcxx.util.FailureCode;
import com.yinhai.ta404.core.transaction.annotation.TaTransactional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@TaTransactional
public class StatisticsExportItemWriteService {

    @Autowired
    private StatisticsExportItemWriteDao statisticsExportItemWriteDao;


    public void addStatisticsCityMini(StatisticsExportDTO statisticsExportDTO){
        int rst = statisticsExportItemWriteDao.insertStatisticsCityMini(statisticsExportDTO);

    }

    public void addStatisticsCountyMini(StatisticsExportDTO statisticsExportDTO){
        int rst = statisticsExportItemWriteDao.insertStatisticsCountyMini(statisticsExportDTO);

    }

}
